<?php // Change the css classes to suit your needs    
include('header.php');
?>
<div class="titleHeader clearfix">
<h3>Contact Us</h3>
</div>
<?php

if(isset($message_success)){
	echo '<div class="alert alert-success">'.$message_success.'</div>';
}

$attributes = array('class' => 'form-horizontal');
echo form_open('support', $attributes); ?>

	<div class="control-group">
        <label class="control-label"for="votre_e_mail">Your e-mail <span class="required">*</span></label>
        <?php echo form_error('votre_e_mail'); ?>
        <div class="controls">
        	<input id="votre_e_mail" type="text" name="email" maxlength="500" value="<?php echo set_value('email'); ?>"  />
        </div>
	</div>

	<div class="control-group">
        <label class="control-label"for="votre_nom">First Name <span class="required">*</span></label>
        <?php echo form_error('votre_nom'); ?>
        <div class="controls">
        	<input id="votre_nom" type="text" name="nom" maxlength="100" value="<?php echo set_value('nom'); ?>"  />
        </div>
	</div>

	<div class="control-group">
        <label class="control-label"for="votre_prenom">Last Name</label>
        <?php echo form_error('prenom'); ?>
        <div class="controls">
        	<input id="votre_prenom" type="text" name="prenom" maxlength="100" value="<?php echo set_value('prenom'); ?>"  />
        </div>
	</div>

	<div class="control-group">
        <label class="control-label"for="societe">Company</label>
        <?php echo form_error('societe'); ?>
        <div class="controls">
        	<input id="societe" type="text" name="societe" maxlength="200" value="<?php echo set_value('societe'); ?>"  />
        </div>
	</div>
	<div class="control-group">
        <label class="control-label" for="subjet">Subject</label>
		<?php echo form_error('subjet'); ?>
		<div class="controls">
			<input id="subjet" type="text" name="subjet" maxlength="200" value="<?php echo set_value('subjet'); ?>"  />
		</div>
	</div>
	<div class="control-group">
        <label class="control-label" for="votre_demande">Message <span class="required">*</span></label>
		<?php echo form_error('demande'); ?>
		<div class="controls">							
			<?php echo form_textarea( array( 'name' => 'demande', 'class' => 'row-fluid', 'value' => set_value('votre_demande') ) )?>
		</div>
	</div>

	<div class="control-group">
        <?php echo form_submit( 'submit', 'Send', " class=' btn btn-success'"); ?>
	</div>
	

<?php echo form_close(); 
    
include('footer.php');
